package com.example.springbootvue3.Config;

import cn.itcast.pojo.Country;
import cn.itcast.pojo.Province;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class commonConfig {

    @Bean
    public Country country(){
        return new Country();
    }
    @Bean("aa")
    public Province province(){
        return new Province();
    }
}
